package cn.iocoder.yudao.module.famous.doctor.convert.treatmentuser;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.famous.doctor.controller.admin.treatmentuser.vo.*;
import cn.iocoder.yudao.module.famous.doctor.dal.dataobject.treatmentuser.TreatmentUserDO;

/**
 * 就诊人 Convert
 *
 * @author 档案
 */
@Mapper
public interface TreatmentUserConvert {

    TreatmentUserConvert INSTANCE = Mappers.getMapper(TreatmentUserConvert.class);

    TreatmentUserDO convert(TreatmentUserCreateReqVO bean);

    TreatmentUserDO convert(TreatmentUserUpdateReqVO bean);

    TreatmentUserRespVO convert(TreatmentUserDO bean);

    List<TreatmentUserRespVO> convertList(List<TreatmentUserDO> list);

    PageResult<TreatmentUserRespVO> convertPage(PageResult<TreatmentUserDO> page);

    List<TreatmentUserExcelVO> convertList02(List<TreatmentUserDO> list);

}
